<template>
  <div class="box">
    <div class="nav">
      <router-link to="/login"
                   class="link">登录</router-link>
      <span>|</span>
      <router-link to="/register"
                   class="link">注册</router-link>
    </div>
    <div class="lrwrap">
      <router-view />
    </div>

  </div>
</template>
<script>
export default {

}
</script>

<style lang="less">
.box {
  width: 600px;
  border-radius: 10px;
  background: white;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0px 10px 10px 5px rgb(0 0 0 / 20%);

  .nav {
    font-size: 14px;
    position: absolute;
    right: 50px;
    top: 10px;
    span {
      color: #9195a3;
    }
  }

  .link {
    color: #9195a3;
    text-decoration: none;
  }
}
</style>
